package com.tidaodang.service.goods.controller;


import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/demo")
@RestController//@Controller声明当前类是controller，@RequestBody
public class DemoController {

    @GetMapping("/test")
    public String demo(){

        return "重庆上空的雾，是雾都传奇吐出的烟";
    }

}
